package com.glodon.paas.monitor.server.biz.service;

import java.util.ArrayList;

import com.glodon.paas.monitor.server.biz.domain.MonitorItemSendRulesEntity;
import com.glodon.paas.monitor.server.dto.MonitorSendRulesDTO;

public interface MonitorItemSendRulesService {

	int deleteByPrimaryKey(Long id);

	int insert(MonitorItemSendRulesEntity record);

	int insertSelective(MonitorItemSendRulesEntity record);

	MonitorItemSendRulesEntity selectByPrimaryKey(Long id);

	MonitorItemSendRulesEntity selectByItemId(Long itemId);

	MonitorItemSendRulesEntity selectBySendId(Long sendId);

	MonitorItemSendRulesEntity selectByAlarmId(Long alarmId);

	ArrayList<MonitorSendRulesDTO> queryMonitorItemSendRules(MonitorSendRulesDTO record);

	int updateByPrimaryKeySelective(MonitorItemSendRulesEntity record);

	int updateByPrimaryKey(MonitorItemSendRulesEntity record);
}
